package com.cetc32.dh.service;
/**
 * Copyright(C): CETC-32
 * @Description: 用户角色管理接口
 * @author: youqing
 * @version: 1.0
 * @date: 2020/9/11 10:55
 * 更改描述：
 */
import com.cetc32.dh.common.response.PageDataResult;
import com.cetc32.dh.entity.BaseAdminRole;
import java.util.List;
import java.util.Map;

/**
 * @Title: AdminRoleService
 * @Description:
 * @author: youqing
 * @version: 1.0
 * @date: 2020/11/21 14:25
 */
public interface AdminRoleService {

    PageDataResult getRoleList(Integer pageNum, Integer pageSize);

    List<BaseAdminRole> getRoles();

    BaseAdminRole findRoleById(Integer id);

    Map<String,Object> updateRole(BaseAdminRole role);

    Map<String,Object> delRole(Integer id, Integer status);

    Map<String,Object> recoverRole(Integer id, Integer status);

    Map<String,Object> addRole(BaseAdminRole role);

}
